home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / widget / r3matgd.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  866 b   |  42 lines

  1.  
  2. // JavaScript wrapper for r3matgd.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_R3MATGD_H = 1;
  7. include("real/gadget/r3lprgds.js")
  8.  
  9.  
  10. var R3CLID_MATERIALGADGET = 230;
  11.  
  12.  
  13.  
  14.  
  15. // Description: Registers a material class for the material gadget.
  16. // Returns: Integer, TRUE if succesfull
  17. // p3: Integer, class id of the material class
  18.  
  19. R3MATGDCM_REGISTERMATERIALCL = 230000;
  20.  
  21. function mR3MATGDCM_REGISTERMATERIALCL(p3) {
  22.   return   DoA(this.r3obj, 230000, p3, R3TID_INTEGER, 0);
  23. }
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30. function r3Materialgadget () { 
  31.    this.base = r3God;
  32.    if(arguments.length) {
  33.       this.base(R3CLID_MATERIALGADGET, arguments);
  34.    }
  35.    // Methods
  36.    this.REGISTERMATERIALCL=mR3MATGDCM_REGISTERMATERIALCL;
  37.  
  38.    // Attributes
  39. }
  40.  
  41. r3Materialgadget.prototype=new r3Listpropertygadget;
  42. // r3matgd.h_H